/*
 * @Date: 2022-11-05 10:24:27
 * @LastEditors: sailornpg
 * @LastEditTime: 2022-11-19 12:51:26
 * @FilePath: \vue-admin-ts\src\main.ts
 * @Description: main
 */
import { createApp } from "vue";
import ElementPlus from "element-plus";
import store from "@/store";
import { setUpStore } from "@/store";
import router from "@/router";
import "element-plus/dist/index.css";
import "normalize.css";
import "../src/style.css";
import App from "./App.vue";
import * as ElementPlusIconsVue from "@element-plus/icons-vue";
const app = createApp(App);
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
  app.component(key, component);
}
app.use(ElementPlus);
app.use(store);
setUpStore();
app.use(router);

app.mount("#app");
